package com.unknowpupil.design.proxy.staticProxy;

/**
 * @Description: <p>
 *
 * </p>
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/4/27 17:15
 * @Classname: Client
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        Star newStar = new RealStar();
        Star proxyStar = new ProxyStar(newStar);

        proxyStar.confer();
        proxyStar.bookTicket();
        proxyStar.signContract();

        proxyStar.sing();
        proxyStar.collectMoney();

    }
}
